import { getData } from '../../../untils/request';

// 找到用户的所有系统消息
export async function getSystemMessage(id) {
  const result = await getData(`/message/findMessage/${id}`);
  return result;
}

// 阅读系统消息
export async function readSystemMessage(id) {
  const result = await getData(`/message/read/${id}`);
  return result;
}
